package ru.tennisworld.match.entities.references;


import jakarta.persistence.AttributeOverride;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.SequenceGenerator;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import ru.tennisworld.match.entities.base.BaseReferenceEntity;

@Data
@Entity
@EqualsAndHashCode(callSuper = true, onlyExplicitlyIncluded = true)
@AttributeOverride(name = "id", column = @Column(name = "MATCH_STAGE_ID"))
@SequenceGenerator(sequenceName = "MATCH_STAGE_ID_SEQ", name = "seq_gen",
        initialValue = 1000, allocationSize = 1)
@Table(name = "MATCH_STAGES")
public class MatchStage extends BaseReferenceEntity {

}
